package com.ehe.gateway.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.HashSet;
import java.util.Set;

/**
 * 放行白名单配置
 * 
 * @author ruoyi
 */
@Setter
@Getter
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "ehe")
public class IgnoreWhiteProperties {

    /** spring security 配置文件 */
    private Security security = new Security();

    @Getter
    @Setter
    public static class Security {

        private Set<String> ignore = new HashSet<>();

    }

}
